/*
 * Cylinder.h
 *
 *  Created on: Dec 20, 2015
 *      Author: wolf
 */

#ifndef CYLINDER_H_
#define CYLINDER_H_

#include "Circle.h"

class Cylinder: public Circle
{
public:
	Cylinder(float x = 0, float y = 0, float r = 0, float h = 0);
	virtual ~Cylinder();
public:
	void setHeight(float height);
	virtual float area() const;
	virtual float volume() const;
	virtual void shapeName() const;
//	friend ostream& operator <<(ostream&,const Cylinder&);
protected:
	float height_;
};

#endif /* CYLINDER_H_ */
